//
//  WTAFNetWorking.h
//  艾听歌
//
//  Created by dllo on 16/6/5.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^successBlock)(id result);
typedef void(^failureBlock)(NSError *error);

@interface WTAFNetWorking : NSObject

+(void)WT_GetWithURL:(NSString *)urlStr Parameter:(NSDictionary *)dic success:(successBlock)sucblock error:(failureBlock)errorBlock;

+(void)WT_POSTWithURL:(NSString *)urlStr Parameter:(NSDictionary *)dic success:(successBlock)sucblock error:(failureBlock)errorBlock;


@end
